package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原料仓库库存对象 warehouse_inventory
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class WarehouseInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private Long warehouseId;

    /** 原料编号 */
    @Excel(name = "原料编号")
    private Long rawMaterialId;

    /** 数量 */
    @Excel(name = "数量")
    private Long amount;

    private String name;

    /** 描述 */
    private String description;

    private String supplier;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setRawMaterialId(Long rowMaterialId)
    {
        this.rawMaterialId = rowMaterialId;
    }

    public Long getRawMaterialId()
    {
        return rawMaterialId;
    }
    public void setAmount(Long amoungt)
    {
        this.amount = amoungt;
    }

    public Long getAmount()
    {
        return amount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("rawMaterialId", getRawMaterialId())
            .append("amount", getAmount())
                .append("name", getName())
                .append("description", getDescription())
                .append("supplier", getSupplier())
            .toString();
    }
}
